/*
 * class.cpp
 *
 *  Created on: Mar 29, 2012
 *      Author: Stephen
 */
#include <iostream>
#include <list>

class store{
public:
	class dude{
	public:
		class cart{
		public:
			int items;
		};

		cart stuff;
	};

	std::list<dude> people;
};

store dumps;

int main()
{
	store::dude bah;
	bah.stuff.items = 3;
	dumps.people.push_front(bah);
	std::list<store::dude>::iterator it = dumps.people.begin();
	std::cout << (*it).stuff.items << std::endl;
	return 0;
}
